package com.woniu.new_orange.personnel_model_wu.service.impl;

import com.woniu.new_orange.entity.AccounFunds;
import com.woniu.new_orange.mapper.AccounFundsMapper;
import com.woniu.new_orange.personnel_model_wu.VO.AccountFundVo;
import com.woniu.new_orange.personnel_model_wu.service.AccountFundService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->AccountFundServiceImpl
 * @Description:
 * @Author: 13488
 * @Date: 2023-02-07 19:33
 * @Version： 1.0
 **/
@Service
public class AccountFundServiceImpl implements AccountFundService {
    @Resource
    private AccounFundsMapper accounFundsMapper;

    @Override
    public List<AccountFundVo> selectAll(Long id) {
        return accounFundsMapper.selectAll(id);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(AccounFunds record) {
        return 0;
    }

    @Override
    public int insertSelective(AccounFunds record) {
        return accounFundsMapper.insertSelective(record);
    }

    @Override
    public AccounFunds selectByPrimaryKey(Long id) {
        return accounFundsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AccounFunds record) {
        return accounFundsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AccounFunds record) {
        return 0;
    }
}
